/**
 * 
 */
package com.swfee.qinben.model;

import java.util.Date;

import android.content.ContentValues;

/**
 * 乘客信息记录表
 * 
 * @author ddr
 * 
 */
public class AppLog implements DbModel {

	private String id;// 用户名

	private Date openDate = new Date() ;//时间 
	
	public String getId() {
		return id;
	}



	public void setId(String id) {
		this.id = id;
	}



	public Date getOpenDate() {
		return (Date) openDate;
	}



	public void setOpenDate(Date openDate) {
		this.openDate = openDate;
	}



	@Override
	public String toString() {
		return "[id=" + id + ",openDate=" + openDate + "]";
	}

	
	
	
	@Override
	public ContentValues toCloumnCotentValues() {
		ContentValues cvs = new ContentValues();
		if (getId() != null) {
			cvs.put("id", getId());
		}
		if (getOpenDate() != null) {
			cvs.put("open_date", getOpenDate().getTime());
		}
		
		return cvs;
	}


}
